]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell-build-setup.sh: Fix warning about git-bz symlink
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 5 Oct 2012 17:57:31 +0000 (13:57 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 5 Oct 2012 17:57:31 +0000 (13:57 -0400)
The warning when changing the git-bz symlink triggered on
initial install. Suppress that.

tools/build/gnome-shell-build-setup.sh

index 8ff7fbbc9ed3e42eaf8033f0bc5e2398f829bea7..a3c0cbe6fa992aaacba931afeff4bfd52125fd8a 100755 (executable)
@@ -339,7 +339,7 @@ old="`readlink $HOME/bin/git-bz`"
 new="`readlink $HOME/bin/git-bz`"
 echo "done"
 
-if test "$old" != "$new" ; then
+if test "$old" != "$new" -a "$old" != "" ; then
     echo "WARNING: $HOME/bin/git-bz was changed from '$old' to '$new'"
 fi